package com.cyy.bean;
public class salesman {
    int salesmanId  ;
    String name;
    String pwd ;
    String email;
    String registerTime;

    public salesman(int id, String name, String pwd, String email, String registerTime) {
        this.salesmanId = id;
        this.name = name;
        this.pwd = pwd;
        this.email = email;
        this.registerTime = registerTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public salesman(String name, String pwd, String mail) {
        this.name = name;
        this.pwd = pwd;
        this.email = mail;
    }

    public int getId() {
        return salesmanId;
    }

    public void setId(int id) {
        this.salesmanId = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getMail() {
        return email;
    }

    public void setMail(String mail) {
        this.email = mail;
    }

    @Override
    public String toString() {
        return "salesman{" +
                "salesmanId=" + salesmanId +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", email='" + email + '\'' +
                ", registerTime='" + registerTime + '\'' +
                '}';
    }
}
